<!-- 搜索页面 -->

<!doctype html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.css" rel="stylesheet" />
		<script src="js/mui.js"></script>
		<script type="text/javascript">
			mui.init({
				pullRefresh: {
					container: "#item-list", //下拉刷新容器标识，querySelector能定位的css选择器均可，比如：id、.class等
					down: {
						style: 'circle', //必选，下拉刷新样式，目前支持原生5+ ‘circle’ 样式
						color: '#55aaff', //可选，默认“#2BD009” 下拉刷新控件颜色
						height: '50px', //可选,默认50px.下拉刷新控件的高度,
						range: '100px', //可选 默认100px,控件可下拉拖拽的范围
						offset: '0px', //可选 默认0px,下拉刷新控件的起始位置
						auto: false, //可选,默认false.首次加载自动上拉刷新一次
						callback: function() { //必选，刷新函数，根据具体业务来编写，比如通过ajax从服务器获取新数据；
							//item.getItemList();
							setTimeout("mui('#item-list').pullRefresh().endPulldownToRefresh()", 1000);
						}
					}
				}
			})
		</script>
		<script src="js/jquery-3.2.1.min.js"></script>
		<link href="css/search.css" rel="stylesheet" />
		<script src="js/getSize.js"></script>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a id="btn_Search" class="mui-pull-right mui-icon mui-icon-search"></a>
			<div id="search-img">
				<span id="img-search">通过图片搜索</span>
				<img id="uphold" src="img/shangchuantupian.png" onclick="getHeadImage()" />
			</div>
			
			<div>
				<div class="mui-input-row mui-search">
					<input type="search" id="search" class="mui-input-clear" placeholder="搜索商品">
				</div>
			</div>
		</header>
		<!-- 商品列表 -->
		<div class="mui-content">
			<div id="item-list">
			</div>
		</div>
	</body>
	<script src="js/search-item.js"></script>
</html>
